/*

config.js

Copyright (C) 2012 Fraunhofer Institute for Secure Information Technology

Authors: Sebastian Ruhleder <sebastian.ruhleder@sit.fraunhofer.de>
		 
Contact: Andreas Poller <andreas.poller@sit.fraunhofer.de>
         Fraunhofer Institute for Secure Information Technology
         Rheinstraße 75
         64295 Darmstadt
         Germany

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.

*/

/* ===========================================================
   SECURITY SETTINGS
   =========================================================== */

window.SALT = "ROSE";

window.HASH_LENGTH = 8;

/* ===========================================================
   STORAGE SETTINGS
   =========================================================== */

// Storage types.
window.STORAGE_TYPE_LOCAL = "localStorage";
window.STORAGE_TYPE_KANGO = "kangoStorage";

// Currently selected storage type.
window.STORAGE_TYPE = STORAGE_TYPE_KANGO;

/* ===========================================================
   UI SETTINGS
   =========================================================== */
window.SHOW_OPEN_CLOSE_INTERACTIONS = true;

/* ===========================================================
   HEARTBEAT SETTINGS
   =========================================================== */
/* HEARTBEAT DELAY in milliseconds. */
window.HEARTBEAT_DELAY = 5000;
/* INTERVAL in seconds. */
window.OPEN_CLOSE_INTERVAL = 60;